<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#A" data-toggle="tab">{:lang('WEB_SITE_INFOS')}</a></li>
    </ul>
    <form class="form-horizontal js-ajax-form margin-top-20" role="form" action="{:url('setting/sitePost')}"
          method="post">
        <fieldset>
            <div class="tabbable">
                <div class="tab-content">
                    <div class="tab-pane active" id="A">
                        <div class="form-group">
                            <label for="input-kuaidi100_key" class="col-sm-2 control-label">快递100客户授权Key</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-kuaidi100_key" name="options[kuaidi100_key]" value="{$site_info.kuaidi100_key|default=''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-kuaidi100_customer" class="col-sm-2 control-label">快递100查询customer</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-kuaidi100_customer" name="options[kuaidi100_customer]" value="{$site_info.kuaidi100_customer|default=''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-push_tem" class="col-sm-2 control-label">是否发送模板消息</label>
                            <div class="col-md-6 col-sm-10">
                                <php>$push_tem=(isset($site_info['push_tem']) and $site_info['push_tem']==1 )?1:0;</php>
                                <select class="form-control" name="options[push_tem]" id="input-push_tem">
                                    <option value="1" <eq name="push_tem" value="1">selected</eq> >支持</option>
                                    <option value="0" <eq name="push_tem" value="0">selected</eq>>关闭</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-tem_id" class="col-sm-2 control-label">模板消息id</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-tem_id" name="options[tem_id]"
                                       value="{$site_info.tem_id|default=''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-wxpay_key" class="col-sm-2 control-label">微信支付</label>
                            <div class="col-md-6 col-sm-10">因参数较多且重要，微信支付参数请到pino/extend/wxpay/lib/WxPayConfig.php进行配置
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-site_icp" class="col-sm-2 control-label">{:lang('WEBSITE_ICP')}</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-site_icp" name="options[site_icp]"
                                       value="{$site_info.site_icp|default=''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-site_icp" class="col-sm-2 control-label">{:lang('WEBSITE_GWA')}</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-site_gwa" name="options[site_gwa]"
                                       value="{$site_info.site_gwa|default=''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="1">
                                    {:lang('SAVE')}
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>

</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>
